package primitives;

import javax.vecmath.Vector2d;
import javax.vecmath.Vector3d;

public class Vertex {
	public Vertex() {
		this.xyz = new Vector3d();
		this.uv = new Vector2d();
		this.normal = new Vector3d();	
	}
	
	public Vertex(Vector3d xyz, Vector2d uv, Vector3d normal) {
		this.xyz = new Vector3d(xyz);
		this.uv = new Vector2d(uv);
		this.normal = new Vector3d(normal);		
	}

	public Vertex(Vertex a) {
		this.xyz = new Vector3d(a.xyz);
		this.uv = new Vector2d(a.uv);
		this.normal = new Vector3d(a.normal);
	}

	Vector3d xyz;
	Vector2d uv;
	Vector3d normal;
}
